Title: add analyse.c/h

Description:
	- Add both files and one prototype to analyse one log line