adding number class that extends symbol but accepts numebr