Added code to read values straight from input and insert them into the array
No need for -ffree-line-length-none any more