get raw input
added arithmetic functions
checking if input contains valid arguments