window example uses curses_stream instread of std.
created window type to encap window stuct.
moved set_border to window object
added window copy functions.