Added condition for draw

Made win check slightly more efficient and added case for a draw