add envir parameter for dynamic scoping
closes #32
add test cases for List
add more test cases for List
add methods for List