Fixed typo and function arguments

A check was looking for two broadphase boxes; no function I've
written does that yet.
Added various constructors to box and vec2d

Also removed operator<< overload for vec2d
Made all functions inline

They're small functions, so this helps speed up the program and
prevent multiple definition errors during compilation
Created CMakeLists for compiling/linking