minor changes, made everything formatted nice and neat
changed the print function output