just some utils iv'e written in the process of solving some problems from project euler