Add lint check

Add lint check using splint. which can be download from following link.
http://www.splint.org/