(fix) Fixed bugs in insertion to the ends.
(feat) Added toArray and more robust movers.