These programs are in C++ and can be converted to any languages that support templates and meta-programming such as Python etc.. but I'm using C++