add include fstream
add get/set coords for Dot