added graphing sequences using canvas