changed output to ints instaed of doubles
added and deleted files