play java app homework