Simple learning Java project