added cases to exploit O(n) space or/and time implementaion
	modified:   tests/chap2/q0002.py