Simple java project i do while i learn