changed a few strings; rewrote win to use any instead of or and a list comprehension