added code for erase/clear buttons and color array