This function determines if lobster gets into a trap and is caught.
trapInPath(loc1, loc2, Trap, howClose)Returns a vector that contain lobster path and whether its trapped
is the location of lobster at the start of each time step
is the location of lobster at the end of each time step
is the location of trap
The area within which a lobster considered trapped