Some practicing code for leetcode and code challenges