modified a star to not take target state, made 8queens