extrema.m added for find out the extreme value
readFile added