An old java project I did at university