Can take multiple numbers. Split up main() a bit.