Base on primitive type and array([]), using limited methods, create the my data structures and algorithms.