get rid of the beep() function to make it work with OS X
removed beep function
add Xcode project file