A simple geometry library in Java