change var names
add comment about graham scan output order