Simple Program For Nested If Else In Matlab