Commit of the latest version that I've sent to my professor at the University in 2009

Signed-off-by: Renann Prado <darkness.renann@gmail.com>