modified the REPL to enable edit of user input
adding prepocessor directive to cater for windows