added a code for ADXL345 with offset tuning

libraries modified and added additional comments