Java Solutions to all the warmup exercises on Hacker Rank