Added 'Average/Mode' program

Added 'Average/Mode' program. Already uploaded to Rosetta. Thanks!