prog1.py updated

This will train upon 70% of the total data and will predict output for remaining 30%
Merge pull request #1 from akashbindal/patch-1

prog1.py updated training and test set separated