command line arguments added. Solution complete