added paint bucket feature to fill canvas