Initial code for SimpleJoin and Fixed Schema bug in IndexScan