Functions created as requested by the assignment. Readme changed to show an example of usage of the classes