Works better than before. Need to fix multiple war situation

Less infinite loops. Uses a temprary array to hold cards