Matlab code for Cut the birds, angry Cyrus