Coderbyte Java Solutions In Hackerrank Problem Set 4