First prototype of downhill simplex method

This algorithm is supposed to minimize given real-valued function on
 n-dimensional Euclidean space. So far, algorithm is supposed to work on
all problems of low dimensionality (say, n<=5) because memory allocation
issues are yet to be fixed.

TODO:
1) Fix memory allocation issues
2) Perform additional testing
3) Write documentation