Little exercise with Collections and basic Swing GUI I did for a lecture