Added first draft of visibility graph - non functional yet