Finished problems 2 to 5