Removed system('clear') from main()