Added solution to hackerrank intro to tutorial challenges