program for taking inputs from user