changed the arrangement of buttons and added prime and space buttons