Add geom.cpp

I've tried to reduce some spaghettiness.
But it's still a stub: we have to implement the rest ASAP.
Prepare for ICPC Domestic 2014
Merge branch 'master' of https://github.com/hadrori/library