diagBind function implementation
part of the second homework
homework is ready
remove extrafiles