Solved coderbyte.com problems using java and TDD