Code from 2048, idea from a book. Just for fun~