Implemented create functions for each index type. #87

Should close #87 :smile: