Update Intersection.java

semaphores now working correctly, not sure why.