Solution by Ruben Westerberg

inputs via command line arguments
