implemented scan and csv2heapfile. Need to improve code style and required commenting