forgot to include location.h in square.cpp