fixed recursion and worked on steps for knight