Fixed printing newline problem and added comment to main