lp1 and lp2 input validation
Merge pull request #6 from codrutas1/Andreea

Andreea