Accelerometer Based Accident Detection System