Simple java based calculator for learning purrposes