really early work on casting rays and got text to display