add pre: to Makefile (create bin/ dir)

add ex7 to Makefile
complete ex7
complete ex8