templated vec2 class

Implemented a templated vec2 with typedefs for storing floats, ints, and unsigned ints.