Several Google Challenges solved using Java