Add more code for hackerrank solutions