first working version
added a command for printing all unicafes
tidied code