Flip sprites horizontally & vertically

Added functions flipHorizontally() and flipVertically()
Merge pull request #960 from AndreiRegiani/dev

Flip sprites horizontally & vertically