started on hacker rank solutions