Commit of homework script and code for question 3
Final commit of homework script, hopefully