Create cons.c

Stroms code for console control