-,+ buttons work

add code for buttons to  update the counter when increasing and
decreasing it live. and added the min.map that kept giving me errors.