added victory message and small bug fixes