Angry Birds in Factored Form