Practising my Data Structures coding ability in raw Javascript.