added code to solve 6 numbers game