Go - Hacker rank solutions