create loop for calculating FD and Shannon indices