Implemented code for checking overlap region using images -
unsuccessful. Back to the geometric method.