Introduction to data structures and algorithms using JavaScript as a programming language