add template Makefile and two-dimension-pid template

add Makefile for practice at samples/template/Makefile