Updated cabal details
Added run function to run a program until it loops indefinitely