Doing the /r/dailyprogrammer problems in ruby (and maybe java)!