decode ways, dp, fibonacci array with restrictions