Create algebratypes.cpp