started work on rts.cpp saving progress on repo