area of parallelogram in java