Added vertical win logic
fixed conflict