A simple java calculator for the area of shapes