GRAHAM SCAN FINALLY WORKS OMG