Various assignments written mostly in C++