106&107 + overloads

problems 106&107, added overloaded functions for input and a few minor
changes