My solution codes for hackerrank. For my own learning