Added solution to problem 3, changed names to match problems from website