adding hackerrank solutions