computing moves part 1