Create geom.erl

Exercises 2-1 through 2-3 in Etudes for Erlang.