Investigations of artificial nanostructures and lithography techniques with a scanning probe microscope