bug fixed & function add

Test case 00 & 01 passed!

1) scan: the first time call function scan, only return whether can we
find a tuple satisfied some conditions
2) getNextRecord : fix the bug in combination of different attribute’s
record
3) add scanSuccess: return whether can we find a tuple satisfied some
conditions