My solutions to the java section of codingbat.com