Added h # and h d #, to repeat/delete history

Cleared stdin after user input
Moved builtins to their own file