adding tselector
add makefile
compile fix
added EL algorithm