wrote some code
added matrix display code