Assignment Final Commit

Added comments and print function