added eclipse project file and did some formatting
fixed error