python revised, imported G-code interperter