cognitive development theory examples