It's Sheepception! That's what you should have called it.
Good puzzle game, but I did get stuck a few times.