Visualizing Majorana fermions in a chain of magnetic atoms on a superconductor