Implemented basic CSG functionality

Still not working too well