Computer Simulation Studies Of Magnetic Nanostructures