Code for BBK university course - Programming in Java