Simulator prototype. Added input example.