renaming file
refactoring Element class to use factory method
adding widen and heighten