Almost optimal construction of functional batch codes using extended Simplex codes,