my final java project at UNED