Added utilities to leetcode.h; more problem solution