add Julius' arrayToList and listToArray to phys.js