Fixed output error if arguments enter less 4
Merge pull request #1 from XaBbl4/master

Fixed output error if arguments count is less than 4.