g-code simulator - a virtual milling machine