Beginning to set up various signals, including direction input and a source of random numbers for choosing new tiles. Also setting up utility functions for modifying the grid.