Added *.*~ to ignore list
Added Makefile for optimizer part