separete window init/term from main.py
Print the tiles properly
Fixing indent problem
Handle keys