Fixed bugs with tabs and spaces. Removed the conio.h and instead use getch system (pause).