Re-name readInput to inputOutput,
inputOutput works,
TODO but only nice-to-have: write executeAlgorithm for entering desired algorithm with the parameters