Added some utility methods, added some codility problems