First try at compiling positions.cpp

First try.