trial programming of 2048. source:https://www.udacity.com/course/viewer#!/c-ud248/l-1017018573/m-1013658586