Add solution to problem three
Change methods' names to camel-case