01-Arrays, problems 8 and 9