Finished homework4. Special feature is button modification. Still need writeup, schematic, more comments in later parts of the code