Lab 2 for java, lab 3 for python