practice data structures w/ prototypes Javascript