Update from Chipper

This is the updated form of the library after my project ‘Chipper’.