added a scanner, methods, actual organization basically for problems 6
and 7 :P