changed the function for sliding
Update 2048gametree.cpp
Merge pull request #3 from ramanujam17/change

Silly errror.