add default constructor
throw exception on invalid coordinates
add some tests