added naive implementations of exec, readline and the combination