Corrections to functions were made.
Fixed eastOf Function