Assignment 8-2 for class in it's basic form. I may add better valiation later.