Last month , Pakistan and China signed a memorandum of understanding for the construction of the Bunji hydroelectric project , which is aimed at generating electricity for Pakistan .