fibonacci
median and avg functions