Implemented 2/5 Tasks in proj3/proj3.py