Added range() function for generating an array of numbers. forEach now attaches to array prototype