Generalized the function "centerWindow"
Generalized the function "centerWindow"

PP90/ANAWS-project-on-Traffic-Engineering,PP90/ANAWS-project-on-Traffic-Engineering,PP90/ANAWS-project-on-Traffic-Engineering