test commit
Created state_changed (rename?) function  will take LFS, LFR, LAS, LAR, SWS, RWS.  (to be combined into a "state" class?)
Added sending side tasks comments to state_changed function
added check for lost frame/ack in sending side.  added receiving side tasks.