Java Calculator made as a project for class