Completed homework 2

No idea why the indentation is shown differently here.. in my computer the indentation is even