Fully Automatic Gym Exercises Recording: An IoT Solution