An Artificial Intelligence for the 2048 game