solved q4.44, eight-queen