Employee profile hackerrank solution java