Added floor function

floor function added
Merge pull request #7 from Hendekagon/master

Added floor function