A simple compiler written using python