adds coorect algorithm to skyline.java, incomplete