Flip sprites horizontally & vertically

Added functions flipHorizontally() and flipVertically()