Fixed error in loop; Test in main to print out deck