Added the min function
Merge pull request #1 from novoselrok/master

Added the min function