Completed assignment 3

Added tests to test the three methods that were requred for the assignment. Added comments explaing the tests.