adding step validation for no of parameters
using UTF-8 encoding for javac