Made the program runnable using a scanner, also added use instructions in README.