fixing arithmetic bug
updating formatting
adding sample output for next phase