basic logic written, need to troubleshoot
now working. Will add looping shortly.
added looping for input request