add frame2.py and a graph for future use

now it works with the files we have so far but user freq input is not tested. Only tested on my mac....