Wrote the Lab for Java; port these for C/C++ and Python!